package com.culture.bootdemo.po;

import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @author ：wen
 * @date ：Created in 2019/8/5 17:49
 * @description：:
 */
@Data
@NoArgsConstructor
public class Answer {

    private Integer id;
    private Integer answerId;
    private Integer commentId;
    private String data;
    private Date createTime;

    public Answer(Integer id, String data) {
        this.id = id;
        this.data = data;
    }

    public Answer(Integer id, Integer commentId) {
        this.id = id;
        this.commentId = commentId;
    }


}
